-- GENERATED SPELL FOR [Bogstrok] --


function spell0_17816(pUnit, Event) --@Piercing Jab,n/a--
pUnit:FullCastSpellOnTarget(31551,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17816', 20000, 1)
end

function Sorts_17816(pUnit, Event)
local choix_sorts_17816 = math.random(0, 0)
if choix_sorts_17816 == 0 then
pUnit:RegisterEvent('spell0_17816', 1, 1)
end
end

function mob17816_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17816', math.random(1500, 3000), 1)
end

function mob17816_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17816_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17816_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17816, 1, 'mob17816_Action')
RegisterUnitEvent(17816, 2, 'mob17816_Leave')
RegisterUnitEvent(17816, 3, 'mob17816_Kill')
RegisterUnitEvent(17816, 4, 'mob17816_Die')
